<?php

	session_start();

	require 'NotORM.php';
	require 'Slim/Slim.php';
	
	$pdo = new PDO('mysql:host=localhost;dbname=secure.backbone', 'secure.backbone', 'secure.backbone');
	$db; $db = new NotORM($pdo);

	\Slim\Slim::registerAutoloader();
	$app = new \Slim\Slim();
	
	require 'routes/authentication.php';
	require 'routes/user.php';
	
	$app->run();
	

